package com.asiainfo.dacp.datastash.broker.core.enums;

import com.asiainfo.dacp.util.enums.AbstractEnum;
import com.asiainfo.dacp.util.enums.Enums;
import lombok.NoArgsConstructor;

/**
 *
 *
 * @author MeiKefu
 * @date 2017-12-14
 */
@Enums("datastash:unit:stepType")
@NoArgsConstructor
public class UnitStepTypeEnum extends AbstractEnum {

    public static UnitStepTypeEnum
        Schedule = new UnitStepTypeEnum("sched","依赖"),
        Sharding= new UnitStepTypeEnum("shard","分片"),
        Datax= new UnitStepTypeEnum("datax","datax"),
        DP= new UnitStepTypeEnum("dp","dp"),
        Stream= new UnitStepTypeEnum("stream","流");

    private UnitStepTypeEnum(String value,String label){
        super(value,label);
    }
}
